Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Controlling Sequence Grabber Components


SGGetLastMovieResID

The SGGetLastMovieResID allows you to retrieve the last resource ID used by the sequence grabber component. The sequence grabber component assigns a new resource ID to each movie resource it creates. The sequence grabber creates the movie resource when you stop a record operation by calling the SGStop function, unless you have instructed the sequence grabber not to add the movie resource to the movie file (see the description of the SGSetDataOutput function beginning on page 5-24 for more information).

pascal ComponentResult SGGetLastMovieResID (SeqGrabComponent s,
                                             short *resID) ;
s
Specifies the component instance that identifies your connection to the sequence grabber component. You obtain this value from the Component Manager's OpenDefaultComponent or OpenComponent function.
resID
Contains a pointer to an integer that is to receive the resource ID the sequence grabber assigned to the movie resource it just created.
DESCRIPTION
If you want this information, you should call this function before you prepare for or start another record or preview operation--because the sequence grabber component resets this value when you start the next operation.

RESULT CODE
seqGrabInfoNotAvailable-9407Sequence grabber cannot support request

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help